import http from '@/api'
// 获取历史记录id
export const Category = (id) => http.get(`/video/history?uid=${id}`)
// 获取视频详情
export const GetHistory = (id) => http.get(`/video/detail/?uid=${id}`)
// 删除历史记录
export const Delete = (data) => http.delete('/video/deletehistory',data)

// 添加历史记录
export const addhistorvyApi = (data) => http.post('/video/addhistory',data)